Detection and Removal of Bad Smells instantly using a InsRefactor
نویسندگان
چکیده
-Software refactoring is one of the essential techniques which are used to improve the software quality without affecting any of the external functionality of the software. There were numerous of software refactoring tools and code smells detection tools which are to be automatic or semi automatic. Most of these tools were human driven, so Software refactoring depends on developers’ spontaneity. Due to little experience in software refactoring this may cause poor software quality and delays in refactoring. For this, we have proposed a framework called Instant Refactoring by Monitor framework using Ins Refactor which helps the inexperienced software engineers to do more refactoring quickly. Source code are instantaneously analyzed by the Monitor, if changes occur and it to be a code smells (symbols of possible problem in the code which requires refactoring) then framework invokes smells detection tools which helps the programmer to resolve the bad smells instantly without delay in time. The proposed framework has been evaluated, implemented and compared with the human-driven refactoring tools.
منابع مشابه
Do they Really Smell Bad? A Study on Developers’ Perception of Code Bad Smells
In the last decade several catalogues have been defined to characterize code bad smells, i.e., symptoms of poor design and implementation choices. On top of such catalogues, researchers have defined methods and tools to automatically detect and/or remove bad smells. Nevertheless, there is an ongoing debate regarding the extent to which developers perceive bad smells as serious design problems. ...
متن کاملDetecting Bad Smells in Object Oriented Design Using Design Change Propagation Probability Matrix
-Object oriented software systems are subject to frequent modifications either during development (iterative, agile software development) or software evolution. For such systems which have large number of classes, detection of design defects is a complex task. Bad smells are used to identify design defects in object oriented software design. Identification of bad smells allows us to apply appro...
متن کاملExtending a Taxonomy of Bad Code Smells with Metrics
Bad Smells define in an informal way code flaws, in order to suggest refactorings, their aim is to improve the design of the code. Current taxonomies group code smells, making use of similarity or correlation criteria between them, and leading to a manual revision of the code. By other side, it is suggested the assistance of using metrics in the detection of bad smells. Metrics can be collected...
متن کاملDetecting Bad Smells in AspectJ
This paper defines algorithms to automatically detect five types of bad smells that occur in aspect-oriented systems, more specifically those written using the AspectJ language. We provide a prototype implementation to evaluate the detection algorithms in a case study, where bad smells are detected in three well-known AspectJ systems.
متن کاملA Catalog of Bad Smells in Design-by-Contract Methodologies with Java Modeling Language
Bad smells are usually related to program source code, arising from bad design and programming practices. Refactoring activities are often motivated by the detection of bad smells. With the increasing adoption of Design-by-Contract (DBC) methodologies in formal software development, evidence of bad design practices can similarly be found in programs that combine actual production code with inte...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014